package com.own.component.token.config.store;

import com.own.component.store.core.Store;
import com.own.component.store.core.method.StoreSet;
import org.springframework.context.annotation.Bean;
import org.springframework.stereotype.Component;

import javax.annotation.Resource;

/**
 * TokenStoreConfig
 *
 * @author chenxueli
 * @date 2022-06-25 23:36:00
 */
@Component
public class TokenStoreConfig {

    @Resource
    private Store<String> store;

    @Bean
    public StoreSet<String> tokenStore() {
        return store.set();
    }

}
